{include file="./layout/header.html" /}
<body>
<div class="x-nav">
  <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:left" onClick="javaScript:history.go(-1)" title="返回">
    <i class="layui-icon" style="line-height:30px">&#xe65c;</i></a>

  <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
    <i class="layui-icon" style="line-height:30px">ဂ</i></a>
</div>
<div class="x-body">
  <!--<div class="layui-row">-->
    <!--<form class="layui-form layui-col-md12 x-so">-->
      <!--<input class="layui-input" placeholder="开始日" name="start" id="start">-->
      <!--<input class="layui-input" placeholder="截止日" name="end" id="end">-->
      <!--<input type="text" name="username"  placeholder="请输入用户名" autocomplete="off" class="layui-input">-->
      <!--<button class="layui-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>-->
    <!--</form>-->
  <!--</div>-->
  <xblock>
    <input type="hidden" id="sid" value="{$sid}">
    <!--<button class="layui-btn layui-btn-danger" onclick="delAll()"><i class="layui-icon"></i>批量删除</button>-->
    <form class="layui-form" action='{:url("Conferorder/list")}?sid={$sid}' >
    <div class="layui-form-item" style="float: left;">
          <div class="layui-input-inline">
            <select name="ordertype" lay-verify="required">
              <option value="">请选择订单类型</option>
              <option value="REGISTRATION_FEE">注册订单</option>
              <option value="1">酒店预订订单</option>
            </select>
          </div>
        </div>
    <a class="layui-btn" href='{:url("Conferorder/list")}?sid={$sid}&ordertype='>查询</a>
  </form>
    {present name="$total"}
    <span class="x-right" style="line-height:40px">共有数据：<span >{$total}</span> 条</span>
    <input type="hidden" id="total" value="{$total}">
    {/present}
  </xblock>
  <table class="layui-table">
    <thead>
    <tr>
      <th>
        <div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div>
      </th>
      <th>排序</th>

      <th>订单类型</th>
      <th>订单编号</th>
      <th>货币类型</th>
      <th>支付费用</th>
      <th>添加时间</th>
      <!--<th>修改时间</th>-->
      <th>订单状态</th>
      <th>操作</th>
    </thead>
    <?php $num = 0 ;?>
    <tbody id="contentbody">
    {volist name="intrs.0.intr" id="v"}
    <tr>
      <td>
        <div class="layui-unselect layui-form-checkbox" lay-skin="primary" data-id='2'><i class="layui-icon">&#xe605;</i></div>
      </td>
      <td><?php echo $num; $num++;?></td>

      <td>{$v->type_name}</td>
      <td>{$v->order_no}</td>
      <td>{$v->currency}</td>
      <td>{$v->total_amount}</td>
      <td><?php echo  date("Y-m-d H:i",$v->created_at)?></td>
      <td class="td-status">
        <span class="layui-btn layui-btn-normal layui-btn-mini">{$v->status_name}</span>
      </td>

      <td class="td-manage">
        <!--<a onclick="member_stop(this,'10001')" href="javascript:;"  title="启用">-->
          <!--<i class="layui-icon">&#xe601;</i>-->
        <!--</a>-->
        <a title="查看详情"  onclick="x_admin_show('详情','{:url("Conferorder/details",array("id"=>$v->uid,"sid"=>$intrs[0]["sid"]))}')" href="javascript:;">
        <i class="layui-icon">&#xe642;</i>
        </a>
        <a title="删除" onclick='member_del(this,"{$v->uid}","{$intrs.0.sid}")' href="javascript:;"><i style="font-size: 17px;" class="layui-icon">&#xe640;</i></a>
      </td>

    </tr>
    {/volist}
    </tbody>
  </table>
  <div class="page">
    <div id="demo3"></div>
  </div>

</div>

<script type="text/javascript" src="__CDN__/admin/order/js/list.js"></script>
{include file="./layout/footer.html" /}